package com.zgs.mall.cart.service;

import com.zgs.mall.cart.vo.Cart;
import com.zgs.mall.cart.vo.CartItem;

import java.util.List;




public interface CartService {
    CartItem addToCart(Long skuId, Integer num);


    Cart getCartList();

    List<CartItem> getUserCartItems();

    CartItem getCattItem(Long skuId);

    void checkItem(Long itemId, Integer check);

    void countItem(Long itemId, Integer num);
}
